﻿<%@ Page Title="Glemt Password" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="passwordRecovery.aspx.cs" Inherits="UCNKompetenceBors.Login.passwordRecovery" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="passwordRecoveryWrapper" class="contentBoxLarge floatLeft">
        <div class="contentBoxLargeInnerMargin">
            <div id="passwordRecoveryBox">
                <div>
                    <asp:Label ID="lblPasswordRecoveryHeader" runat="server" Text="Forgotten Your Password?" CssClass="contentTitle"></asp:Label>
                    <br />
                    <asp:Label ID="lblPasswordRecoveryText" runat="server" Text="If you have forgotten your password, you may request to have a password reset link sent to your e-mail address."></asp:Label>
                </div>
                <div id="passwordRecoveryUser">
                    <asp:Label ID="lblPasswordRecoveryUserName" runat="server" Text="User Name: "></asp:Label>
                    <asp:TextBox ID="txtPasswordRecovery" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvalUsername" runat="server" ControlToValidate="txtPasswordRecovery" Display="Dynamic" ErrorMessage="You need to enter a username" ToolTip="You need to enter a username" Text="*" ForeColor="Red" ValidationGroup="RecoverPassword"></asp:RequiredFieldValidator>
                </div>
                <div>
                    <asp:ValidationSummary ID="valSumPasswordRecovery" DisplayMode="SingleParagraph" ValidationGroup="RecoverPassword" ForeColor="Red" runat="server" />
                </div>
                <div id="passwordRecoveryButton">
                    <asp:Label ID="lblPasswordRecoveryMessage" runat="server" Visible="false" ForeColor="Green"></asp:Label>
                </div>
                <div>
                    <asp:Button ID="btnPasswordRecovery" runat="server" ValidationGroup="RecoverPassword" Text="Request Password Reset" CssClass="button" OnClick="btnPasswordRecovery_Click" />
                </div>
            </div>
        </div>
    </div>
</asp:Content>
